package com.fram.mapper;

import java.util.List;

import com.fram.bean.admin.botany.response.BotanyDetailMessageResponse;
import com.fram.entity.BotanyDetailMessage;

public interface BotanyDetailMessageMapper {
	int deleteByPrimaryKey(Long id);

	int insert(BotanyDetailMessage record);

	int insertSelective(BotanyDetailMessage record);

	BotanyDetailMessage selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(BotanyDetailMessage record);

	int updateByPrimaryKey(BotanyDetailMessage record);

	/** 最新一条录入数据 **/
	BotanyDetailMessageResponse newBotanyDetailMessage(Long basicId);

	List<BotanyDetailMessage> botanyDetailMessageList(Long basicId);
}